﻿using System;

namespace PropertyExpression.ControllableQuery.Demo
{
    /// <summary>
    /// //TODO: убрать
    /// </summary>
    /// <typeparam name="TRows"></typeparam>
    /// <typeparam name="TCount"></typeparam>
    public class Paging<TRows, TCount>
    {
        private readonly TRows rows;
        private readonly TCount count;

        public Paging(TRows rows, TCount count)
        {
            this.rows = rows;
            this.count = count;
        }

        public TRows Rows
        {
            get { return rows; }
        }

        public TCount Count
        {
            get { return count; }
        }
    }
}